

public class Main {
    public static void main(String[] args) {
        for (int i = 1; i <= 100; i++) {
            if (i % 7 == 0 || containsSeven(i)) {
                System.out.print("过 ");
            } else {
                System.out.print(i + " ");
            }
        }
    }

    // 辅助方法，用于检查数字是否包含7
    public static boolean containsSeven(int number) {
        while (number > 0) {
            if (number % 10 == 7) {
                return true;
            }
            number /= 10;
        }
        return false;
    }
}